package com.cloud.api.system;

import com.cloud.api.system.fallBack.SystemTestFeignFallbackFactory;
import com.cloud.common.core.cons.CloudCons;
import com.cloud.common.core.model.response.SuccessResponses;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 系统 测试模块Feign调用
 *
 * @author yan
 */
@FeignClient(contextId = "systemTestFeign", path = "/open/test", value = CloudCons.SYSTEM, fallbackFactory = SystemTestFeignFallbackFactory.class)
public interface SystemTestFeign {

    @GetMapping("/load")
    SuccessResponses<String> sysLoad();


}
